using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._SpatialStatisticsTools._Utilities
{
    /// <summary>
    /// <para>Calculate Areas</para>
    /// <para></para>
    /// <para></para>
    /// </summary>    
    [DisplayName("Calculate Areas")]
    public class CalculateAreas : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public CalculateAreas()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_Input_Feature_Class">
        /// <para>Input Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        /// <param name="_Output_Feature_Class">
        /// <para>Output Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        public CalculateAreas(object _Input_Feature_Class, object _Output_Feature_Class)
        {
            this._Input_Feature_Class = _Input_Feature_Class;
            this._Output_Feature_Class = _Output_Feature_Class;
        }
        public override string ToolboxName => "Spatial Statistics Tools";

        public override string ToolName => "Calculate Areas";

        public override string CallName => "stats.CalculateAreas";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_Input_Feature_Class, _Output_Feature_Class];

        /// <summary>
        /// <para>Input Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _Input_Feature_Class { get; set; }


        /// <summary>
        /// <para>Output Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _Output_Feature_Class { get; set; }


        public CalculateAreas SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}